/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Controller;

/**
 *
 * @author Mamore
 */
import java.io.Serializable;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
import javax.faces.bean.ManagedBean;
import javax.faces.bean.SessionScoped;

@ManagedBean(name = "formBean")
@SessionScoped
public class FormBean implements Serializable {

    private List<String> selectedFilters;
    private List<String> selectedOptions;
    private Map<String, String> filters;

    public FormBean() {
        filters = new HashMap<String, String>();
        filters.put("Cidadania", "1");
        filters.put("Cultura", "2");
        filters.put("Esporte Lazer", "3");
        filters.put("Saúde", "4");
        filters.put("Segurança", "5");
       
    }

    public List<String> getSelectedFilters() {
        return selectedFilters;
    }

    public void setSelectedFilters(List<String> selectedFilter) {
       
        this.selectedFilters = selectedFilter;
       
      
    }

    public Map<String, String> getFilters() {
        return filters;
    }

    public List<String> getSelectedOptions() {
        return selectedOptions;
    }

    public void setSelectedOptions(List<String> selectedOptions) {
        this.selectedOptions = selectedOptions;
    }
}
